package Expe10;

/**
 * @Author 28021
 * @Date 2022/11/15
 */
public class Rectangle extends Geometry{
    double length,width;
    Rectangle(double length,double width){
        this.length=length;
        this.width=width;
    }
    public double getArea(){
        return length*width;
    }
}
